package gdi1.electricbox.controller;

import java.io.FileNotFoundException;

import gdi1.electricbox.controller.IController;
import gdi1.electricbox.gui.GUI;
import gdi1.electricbox.gui.event.EventForUI;
import de.tu_darmstadt.gdi1.framework.controller.AbstractController;
import de.tu_darmstadt.gdi1.framework.interfaces.IControllerEvent;

public class Controller extends AbstractController implements IController
{
	GUI gui;
	@Override
	public void sendEventToUi(EventForUI event)
	{
		System.out.println("SendEvent");
		// TODO Auto-generated method stub
		
	}
	
	@Override
	protected void processEvent(IControllerEvent event)
	{
		// TODO Auto-generated method stub
	}
	
	@Override
	protected void initialize()
	{
		gui = new GUI(this);
		
		System.out.println("Init");
		sendEventToUi(new EventForUI());
	}
}

